package com.mes.service.tdd;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.mes.dao.tdd.ProductRmoveDetailMapper;
import com.mes.entity.tdd.ProductRmoveDetail;
import com.mes.entity.tdd.tj.Tpage;
/**
 * 
 *@ClassName: ProductRmoveServiceImpl 
 *@Description: 产品移库
 *@Author tdd
 *@Date 2018-6-6 上午10:23:37 
 *@version 1.0
 */
@Service
@Transactional
public class ProductRmoveServiceImpl implements ProductRmoveService{
	//注入产品移库Mapper
	@Resource ProductRmoveDetailMapper rmoveDetailMapper;
	/**
	 * 产品移库分页
	 */
	@Override
	public List<ProductRmoveDetail> list(Tpage pageBean) {
		return rmoveDetailMapper.list(pageBean);
	}
	/**
	 * 产品移库条数
	 */
	@Override
	public int total(Tpage pageBean) {
		return rmoveDetailMapper.total(pageBean);
	}
}
